<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var num = prompt('请输入您的分数：');
        if (num >= 90) {
            alert('您的成绩是：A');
        } else if(num >=80 && num < 90) {
            alert('您的成绩是：B');
        } else if(num >= 70 && num < 80) {
            alert('您的成绩是：C');
        }else if (num >= 60 && num < 70) {
            alert('您的成绩是：D');
        }else{
            alert('您的成绩是：E');
        }
    </script>
</head>
<body>
    
</body>
</html>